package com.cn.mmd.mapper;

import com.cn.mmd.model.QuestionWrite;
import com.cn.mmd.model.QuestionWriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QuestionWriteMapper {
    int countByExample(QuestionWriteExample example);

    int deleteByExample(QuestionWriteExample example);

    int deleteByPrimaryKey(Integer questionid);

    int insert(QuestionWrite record);

    int insertSelective(QuestionWrite record);

    List<QuestionWrite> selectByExample(QuestionWriteExample example);

    QuestionWrite selectByPrimaryKey(Integer questionid);

    int updateByExampleSelective(@Param("record") QuestionWrite record, @Param("example") QuestionWriteExample example);

    int updateByExample(@Param("record") QuestionWrite record, @Param("example") QuestionWriteExample example);

    int updateByPrimaryKeySelective(QuestionWrite record);

    int updateByPrimaryKey(QuestionWrite record);

    List<QuestionWrite> selectByName(QuestionWrite questionWrite);
}